import unittest
from selenium import webdriver
from options import options

url = r'http://192.168.190.130/upload/'  #设为全局变量
class UpDown(unittest.TestCase):
    def setUp(self) -> None:      #准备工作
        self.dr = webdriver.Chrome(options=options)
        self.dr.get(url)
        self.dr.maximize_window()

    def tearDown(self) -> None:
        self.dr.quit()